/*
 * out.cpp
 *
 * Created: 3/19/2013 4:34:17 PM
 *  Author: Ozan
 */ 

#include "outp.h"
#include <avr/io.h>


OUTP::OUTP (unsigned char  p,int x)
{
	PORT = p;
	PIN = x;
}

void OUTP::on(void)
{
	sbi(_SFR_IO8(PORT),PIN);
}

void OUTP::off(void)
{
	cbi(_SFR_IO8(PORT),PIN);
}

